//
//  TSMaskImageGRScrollViewController.m
//  TSDemo_ImageFilter
//
//  Created by qian on 2021/3/3.
//

#import "TSMaskImageGRScrollViewController.h"
#import <CJGRKit/CJImageGRScrollView.h>
#import <CQGRKit/CQMaskCenterView.h>


@interface TSMaskImageGRScrollViewController () {
    
}
@property (nonatomic, strong) CQMaskCenterView *scrollView;

@end

@implementation TSMaskImageGRScrollViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view.
    
    CQMaskCenterView *scrollView = [[CQMaskCenterView alloc] init];
    scrollView.backgroundColor = [UIColor redColor];
    [self.view addSubview:scrollView];
    [scrollView mas_makeConstraints:^(MASConstraintMaker *make) {
        make.centerX.centerY.mas_equalTo(self.view);
        make.top.mas_equalTo(self.mas_topLayoutGuide).mas_offset(100);
        make.left.mas_equalTo(self.view).mas_offset(20);
    }];
    self.scrollView = scrollView;
    
    
//        UIImageView *imageView = [[UIImageView alloc] init];
//        imageView.image = [UIImage imageNamed:@"bmp1.bmp"];
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
